﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        name: 'login',
        path: '/user/login',
        component: './user/Login',
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/welcome',
    name: '首页',
    icon: 'smile',
    component: './Welcome',
  },
  {
    path: '/admin',
    name: '投诉中心',
    icon: 'crown',
    component: './Admin',
  },
  {
    name: '审核中心',
    icon: 'icon-data-board',
    path: '/examination',
    component: '/src/pages/examination',
  },
  {
    name: '用户管理',
    icon: 'icon-bussiness-man',
    path: '/userControl',
    component: '/src/pages/userControl',
  },
  {
    name: '客服中心',
    icon: 'icon-receiving',
    path: '/management',
    component: '/src/pages/management',
  },
  {
    path: '/',
    redirect: '/welcome',
  },
  {
    component: './404',
  },
];
